﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="poll.ascx.cs" Inherits="templates_client_usercontrols_poll" %>
<div style="background:url(../templates/client/images/bar_title_left.png) no-repeat; width:220px; height:50px; margin-left:10px; padding:10px; margin-top:7px;">
    <span style="text-transform:uppercase; color:White;">Thăm dò ý kiến</span>
</div>
<div style="border:1px solid #9DCEFC; border-top:none; margin-left:10px; width:218px; margin-top:-30px; padding-top:5px">
    <div style=" margin-left:15px ;width:220px; margin-bottom:12px; font: normal 13px Arial, Helvetica, sans-serif;" id="binhchon" runat="server">
       <table width="95%">
            <tr> 
                 <td colspan="2">
                    <asp:Label ID="lbIdCauHoi" runat="server" Text="Label" Visible="false"></asp:Label>                   
                    <b><asp:Label ID="lbCauHoi" runat="server" Text="Câu hỏi"></asp:Label></b><br /><br />
                  </td>
            </tr>
            <tr>     
                  <td colspan="2">
                    <asp:RadioButtonList ID="rdbTraLoi" runat="server">
                    </asp:RadioButtonList>
                  </td>
            </tr>
            
            <tr>
                <td>
                    <asp:Button ID="btnDanhGia" class="button" runat="server" Text="Đánh giá" 
                        onclick="btnDanhGia_Click" />
                </td>
                <td>
                    <asp:Button ID="btnKetQua" class="button" runat="server" Text="Kết quả" 
                        onclick="btnKetQua_Click" />
                </td>
            </tr> 
        </table>      
    </div>
    <div style=" margin-left:15px ;width:220px; margin-bottom:12px; font: normal 13px Arial, Helvetica, sans-serif;" id="ketqua" runat="server">
        <asp:Repeater ID="rptKetQua" runat="server">
            <ItemTemplate>
                <table border="0" cellpadding="0" cellspacing="2" width="90%">
                    <tr>
                        <td align="left" height="20" valign="middle" width="80%">
                            <%#Eval("TraLoi") %></td>
                        <td align="left" height="20" valign="middle" width="20%">
                            (<%#Eval("BinhChon") %>)</td>
                    </tr>
                    <tr>
                        <td align="left" height="10" valign="middle" width="80%">
                            <img height="7px" src="../templates/client/images/tile.gif" width="<%#Eval("Tyle") %>%" /></td>
                        <td align="left" height="10" valign="middle" width="20%">
                        <%#Eval("Tyle") %>%</td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:Repeater><br />
        <asp:Label ID="lblTong" runat="server" width="100%"></asp:Label>
        <table>
        <tr>
            <td>
                <asp:Button ID="btnQuayLai" class="button" runat="server" Text="Quay lại" 
                    onclick="btnQuayLai_Click" />
            </td>
            <td>
                &nbsp;
            </td>
        </tr> 
        </table>      
    </div>
</div>